package lab1;

public class AMD implements cpu {

	public String name = "AMD";
	public double price;
	public String corenum;

	public AMD(double price, String corenum) {
		this.price = price;
		this.corenum = corenum;
	}

	@Override
	public String getname() {
		return name;
	}

	@Override
	public double getprice() {
		return price;
	}

	@Override
	public String getcorenum() {
		return corenum;
	}

}
